package com.xcc.modules.controller;

import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import com.xcc.common.entry.User;
import com.xcc.common.result.ResultBody;
import com.xcc.common.service.UserService;
import com.xcc.feign.modules.controller.serivce.UserFeignController;
import com.xcc.feign.modules.controller.serivce.UserFeignService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author frosty
 * @description
 * @date 2019-11-06 06:15:40
 */
@RestController
public class Controller {
@Autowired
private    UserFeignController userFeignController;
@Autowired
private UserFeignService userFeignService;
@GetMapping("/")
public ResultBody getU(String id) {
    return userFeignService.find(id);
}



}
